package com.yc.resgoods.biz;



import com.yc.bean.Resorder;
import com.yc.bean.Resuser;
import com.yc.resgoods.model.CartItem;

import java.util.Set;

/**
 * @program: res125_cloud
 * @description:
 * @author: Joker
 * @create: 2023-08-22 09:48
 */
public interface ResorderBiz {
    /**
     * 下单
     * @param resorder  :订单相关信息
     * @param cartItems :订单项信息
     * @param resuser   :用户信息
     * @return
     */
    public int order(Resorder resorder, Set<CartItem> cartItems, Resuser resuser);
}
